package cn.yuysaln.domain.strategy.service.rule.chain;

import cn.yuysaln.domain.strategy.service.rule.chain.ILogicChain;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public abstract class AbstractLogicChain implements ILogicChain {
    private ILogicChain next;

    @Override
    public ILogicChain next() {
        return next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    protected abstract String ruleModel();

}
